{extend name="index/index"}

{block name="main"}

<div class="tpl-content-wrapper">
    <div class="tpl-content-page-title">
        QBQ 新增房源名
    </div>
    <ol class="am-breadcrumb">
        <li><a href="{:url('admin/index/index')}" class="am-icon-home">首页</a></li>
        <li><a href="{:url('admin/house/index')}">房源列表</a></li>
        <li class="am-active">新增房源名</li>
    </ol>
    <div class="tpl-portlet-components">
        <div class="portlet-title">
            <div class="caption font-green bold">
                <span class="am-icon-code"></span> 新增房源名
            </div>

        </div>

        <div class="tpl-block">

            <div class="am-g">
                <div class="tpl-form-body tpl-form-line">
                    <form class="am-form tpl-form-line-form" action="{:url('admin/house/save')}" method="post" enctype="multipart/form-data">
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">房源区域 <span class="tpl-form-line-small-title">Title</span></label>
                            <div class="am-u-sm-9">
                                <select name="add">
                                    <option value="黄浦区">黄浦区</option>
                                    <option value="徐汇区">徐汇区</option>
                                    <option value="长宁区">长宁区</option>
                                    <option value="杨浦区">杨浦区</option>
                                    <option value="虹口区">虹口区</option>
                                    <option value="普陀区">普陀区</option>
                                    <option value="静安区">静安区</option>
                                    <option value="浦东新区">浦东新区</option>
                                </select>
                                <small></small>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">房源地址 <span class="tpl-form-line-small-title">Title</span></label>
                            <div class="am-u-sm-9">
                                <input type="text" class="tpl-form-input" id="user-name" placeholder="请输入房源地址" name="address">
                                <small></small>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">房间大小 <span class="tpl-form-line-small-title">Title</span></label>
                            <div class="am-u-sm-9">
                                <input type="text" class="tpl-form-input" id="user-name" placeholder="请输入房间面积(单位㎡)" name="area">
                                <small></small>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">房租价格 <span class="tpl-form-line-small-title">Title</span></label>
                            <div class="am-u-sm-9">
                                <input type="text" class="tpl-form-input" id="user-name" placeholder="请输入房租(单位:元)" name="rent">
                                <small></small>
                            </div>
                        </div>

                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">户型 <span class="tpl-form-line-small-title">Title</span></label>
                            <div class="am-u-sm-9">
                                <select name="cid">
                                    {volist name="$type" id="v"}
                                    <option value="{$v['id']}">{$v['name']}</option>
                                    {/volist}
                                </select>
                                <small></small>
                            </div>
                        </div>

                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">房间朝向 <span class="tpl-form-line-small-title">Title</span></label>
                            <div class="am-u-sm-9">
                                <input type="radio" value="1" name="direction" checked>东&nbsp;
                                <input type="radio" value="2" name="direction">南&nbsp;
                                <input type="radio" value="3" name="direction">西&nbsp;
                                <input type="radio" value="4" name="direction">北
                                <small></small>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">装修 <span class="tpl-form-line-small-title">Title</span></label>
                            <div class="am-u-sm-9">
                                <input type="radio" name="fixture" value="1" checked>精装修&nbsp;
                                <input type="radio" name="fixture" value="2">简装修&nbsp;
                                <small></small>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">楼层 <span class="tpl-form-line-small-title">Title</span></label>
                            <div class="am-u-sm-9">
                                <input type="radio" name="floor" value="1" checked>1~6&nbsp;
                                <input type="radio" name="floor" value="2">6~12&nbsp;
                                <input type="radio" name="floor" value="3">12~18&nbsp;
                                <input type="radio" name="floor" value="4">18~24&nbsp;
                                <input type="radio" name="floor" value="5">24以上
                                <small></small>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">房间描述 <span class="tpl-form-line-small-title">Title</span></label>
                            <div class="am-u-sm-9">
                                <input type="text" class="tpl-form-input" id="user-name" placeholder="300字以内" name="remark">
                                <small></small>
                            </div>
                        </div>
                        <!--<div class="am-form-group">-->
                            <!--<label for="user-name" class="am-u-sm-3 am-form-label">房间封面图片 <span class="tpl-form-line-small-title">Title</span></label>-->
                            <!--<div class="am-u-sm-9">-->
                                <!--<input type="file" class="tpl-form-input" id="user-name" name="image" multiple>-->
                                <!--<small></small>-->
                            <!--</div>-->
                        <!--</div>-->
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">发布人 <span class="tpl-form-line-small-title">Title</span></label>
                            <div class="am-u-sm-9">
                                <input type="text" class="tpl-form-input" id="user-name" placeholder="请输入真实姓名" name="name">
                                <small></small>
                            </div>
                        </div>
                        <div class="am-form-group">
                            <label for="user-name" class="am-u-sm-3 am-form-label">房东手机号码 <span class="tpl-form-line-small-title">Title</span></label>
                            <div class="am-u-sm-9">
                                <input type="text" class="tpl-form-input" id="user-name" placeholder="请输入手机号码" name="tel">
                                <small></small>
                            </div>
                        </div>
                        <input type="hidden" name="rental" value="2">
                        <input type="hidden" name="hot" value="2">
                        <input type="hidden" name="review" value="2">



                        <div class="am-form-group">
                            <div class="am-u-sm-9 am-u-sm-push-3">
                                <button class="am-btn am-btn-primary tpl-btn-bg-color-success ">提交</button>
                            </div>
                        </div>
                    </form>

                </div>
            </div>
        </div>


    </div>

</div>
{/block}